import easytrader

user = easytrader.use('ht_client')

user.prepare('./yh_client.json')
#获取资金状况
print(user.balance)
#获取持仓
print(user.position)

user.buy('162411', price=0.55, amount=100)
user.sell('162411', price=0.55, amount=100)
user.auto_ipo()